﻿using System;
using System.Collections.Generic;


using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WineModel
{
    /// <summary>
    /// 商品信息表
    /// </summary>
    public class GoodsMessage
    {
        
        /// <summary>
        /// 商品编号
        /// </summary>
        public int GoodsID { get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        public string GoodsName { get; set; }
        /// <summary>
        /// 酒厂
        /// </summary>
        public string GoodsWinery { get; set; }
        /// <summary>
        /// 商品年份
        /// </summary>
        public DateTime GoodsYear { get; set; }
        /// <summary>
        /// 酒精度
        /// </summary>
        public string GoodsAlcohol { get; set; }
        /// <summary>
        /// 商品规格
        /// </summary>
        public string GoodsStandard { get; set; }
        /// <summary>
        /// 净含量
        /// </summary>
        public int GoodsVolume { get; set; }
        /// <summary>
        /// 原料
        /// </summary>
        public string GoodsStock { get; set; }
        /// <summary>
        /// 酿造工艺
        /// </summary>
        public string GoodsProcess { get; set; }
        /// <summary>
        /// 存储条件
        /// </summary>
        public string GoodsStore { get; set; }
        /// <summary>
        /// 商品价格
        /// </summary>
        public decimal GoodsPrice { get; set; }
        /// <summary>
        /// 香型
        /// </summary>
        public string GoodsOdor { get; set; }
        /// <summary>
        /// 箱规
        /// </summary>
        public string GoodsBox { get; set; }
        /// <summary>
        /// 商品产地
        /// </summary>
        public string GoodsAddr { get; set; }
        /// <summary>
        /// 商品类别编号
        /// </summary>
        public int GoodsTypeID { get; set; }
        public virtual GoodsType GoodsType { get; set; }
        /// <summary>
        /// 商品上下架（0/1）
        /// </summary>
        public int  GoodsStart { get; set; }
        /// <summary>
        /// 库存数量
        /// </summary>
        public int  GoodsNum { get; set; }
        /// <summary>
        /// 累计销量
        /// </summary>
        public int GoodsMarket { get; set; }
        /// <summary>
        /// 促销状态
        /// </summary>
        public int SalesPromotionState { get; set; }
        /// <summary>
        /// 首页状态
        /// </summary>
        public int Indextstart { get; set; }
        /// <summary>
        /// 品牌编号
        /// </summary>
        public int Bid { get; set; }
        public virtual Brand Brand { get; set; }
    }
}
